package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.ClientClaim;
import cn.wolfcode.crm.query.EmployeeQueryObject;
import cn.wolfcode.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClientClaimMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ClientClaim record);

    ClientClaim selectByPrimaryKey(Long id);

    List<ClientClaim> selectAll();

    int updateByPrimaryKey(ClientClaim record);

    int query4Count(QueryObject qo);

    List<ClientClaim> query4List(QueryObject qo);

    void insertBy3Id(@Param("claimId") Long claimId, @Param("claimItemId") Long claimItemId, @Param("id") Long id);

    List<ClientClaim> selectByKeyword(EmployeeQueryObject qo);
}